package cn.wenhe9.gulimall.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.wenhe9.gulimall.product.entity.BrandEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌
 *
 * @author dujinliang
 * @email dujinliang9@163.com
 * @date 2022-04-14 19:17:08
 */
public interface BrandService extends IService<BrandEntity> {

    IPage<BrandEntity> queryPage(Map<String, Object> params);

    Page<BrandEntity> getBrandByPage(Long page, Long limit, String key);

    void batchDeleteByIds(List<Long> ids);

    void updateDetail(BrandEntity brand);
}

